PDF Plugin for Xojo

Font.BoundingBoxRight Property (console safe)

Gets the right coord for the Font bounding box.

BoundingBoxRight as Single {Read}

Remarks

To get it relative to the page and font size then you calculate it as follows:


Dim ascent as Single

// For font size 12
right = font.BoundingBoxRight * 12 / 1000.0

See Also

Font Class